package com.weng.apistarter.validator.model;

import com.weng.framework.validator.annotation.Phone;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @author wengzhonghui
 * @date 2019/1/28 9:36
 */
@Data
public class User {

    @Phone
    private String phone;

    @NotNull
    private String name;




}
